package com.hotel.room.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.hotel.room.pojo.Room;

public interface RoomMapper {

	public void insertRoom(Room room);

	public void deleteRoom(int id);

	public void updateRoom(Room room);

	public List<Room> selectRoom();

	public Room selectRoomById(int id);
	
	//后台order调用
	void updateRoomNumByType(@Param("num") int num, @Param("roomType") String roomType);

	public Room selectRoomByType(String roomType);

}
